package tk.mybatis.mapper;

import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * @Description:
 * @author: 张川
 * @date: 2019/11/11 16:44
 */

public interface BaseMapper<T> extends MySqlMapper<T>, Mapper<T> {

        int updateBatch(List<T> list);
        int batchInsert(@Param("list") List<T> list);
        int insertOrUpdate(T record);
        int insertOrUpdateSelective(T record);
        }
